 <!-- app/views/user/login.rhtml -->
<% form_for(@user, :url=> {:controller => "user", :action => "process_login"}) do |f| %>
  Username:  <%= f.text_field :username %>
  <br/>
  Password:  <%= f.password_field :password %>
  <br/>
  <%= submit_tag "Login" %>
<% end %>